package top.heliming.youyou.item.pojo;

import java.util.HashMap;
import java.util.Map;
import javax.persistence.Id;
import javax.persistence.Table;
import lombok.Data;
import top.heliming.youyou.common.utils.JsonUtils;

/**
 * description: //SPU详情
 *
 * @author: heliming
 * @date:2019/05/30 下午 11:36
 */
@Table(name="tb_spu_detail")
@Data
public class SpuDetail {
  // 对应的SPU的id
  @Id
  private Long spuId;
  // 商品描述
  private String description;
//  private String specTemplate;// 商品特殊规格的名称及可选值模板
//  private String specifications;// 商品的全局规格属性
  private String packingList;// 包装清单
  private String afterService;// 售后服务
 //通用规格参数数据
  private String genericSpec;
  //特殊规格参数数据
  private String specialSpec;

/* [ {

      "group": "主体 ",

      "params":[
  {
    "k": "机身颜色",
    "selected": ["红色","黑色"]
  },
  {
    "k": "内存",
    "selected": ["8GB","6GB"]
  },
  {
    "k": "机身存储",
    "selected": ["64GB","256GB"]
  }
]}]*/


}